﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 大屏发货城市和光圈、数量。如：['新乡市',[[{name: '新乡市'}, {name: '新乡市', value: 200, shippingInfo: 发货总数:2000件 }], [{name: '新乡市'}, {name: '呼和浩特市', value: 100, shippingInfo: 发货数:1000件 }], [{name: '新乡市'}, {name: '成都市', value: 100, shippingInfo: 发货数:1000件 }]]]
    /// </summary>
    public class PB_DeliveryPlanCityDTO
    {
        public List<List<object>> lists { get; set; } = new List<List<object>> { new List<object> {"邯郸市",new List<object> { new List<object> { new PB_DeliveryPlanCityDeliveryCity(), new PB_DeliveryPlanCityReceiveCityDTO { name="邯郸市",value=200,dataInfo= "发货总数:0件" }  } } } }; 
    }
    /// <summary>
    /// 发货城市
    /// </summary>
    public class PB_DeliveryPlanCityDeliveryCity
    {
        public string name { get; set; } = "邯郸市";
    }
    /// <summary>
    /// 收货城市
    /// </summary>
    public class PB_DeliveryPlanCityReceiveCityDTO
    { 
        /// <summary>
        /// 城市名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 光圈值（收货总量*200/各地发货总量）
        /// </summary>
        public int value { get; set; } = 0;
        /// <summary>
        /// 收货量表述
        /// </summary>
        public string dataInfo { get; set; }
    }
}
